﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

///<summary>
///
///</summary>
public abstract class State 
{
    //进入状态初始化；
    public abstract void InitState(StateManager manager);
    //进入状态循环执行;
    public abstract void ExecuteState(StateManager manager);
    //退出状态调用
    public abstract void ExitState(StateManager manager);
    public void SendNotification(string notification)
    {
        AppFacde.Instance.SendNotification(notification);
    }
}
